import functools


def generator(func):
    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        result = func(*args, **kwargs)
        return result

    return wrapper


@generator
def leat(word):
    print(f"{word}下面的单词有: bleat cleat pleat leather")


if __name__ == '__main__':
    leat("leat")
    print(leat.__name__)
